package com.byit.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.byit.domain.AppBanner;
import com.byit.mapper.AppBannerMapper;
import com.byit.service.IAppBannerService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * banner广告 服务层实现
 * 
 * @author tjm
 * @date 2019年1月2日
 */
@Service
public class AppBannerServiceImpl extends ServiceImpl<AppBannerMapper, AppBanner> implements IAppBannerService {


    @Override
    public List<JSONObject> selectAppHomeBanner() {
        return this.baseMapper.selectAppHomeBanner();
    }

    @Override
    public void setByOrderNull(Long id) {
        this.baseMapper.setByOrderNull(id);
    }
}
